var rgb="rgb(253,183,25)";


var str=rgb.substring(rgb.indexOf("(")+1,rgb.lastIndexOf(")"));
var tempArr=str.split(",");
for (let index = 0; index < tempArr.length; index++) {
    const element = tempArr[index];
    
    console.log(parseInt(element));
}
